package com.vm.osm.business.service.eam;

import com.vm.osm.business.dto.eam.measure_unit.MeasureUnit;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.Arrays;
import java.util.List;

@RunWith(SpringRunner.class)
@SpringBootTest
public class TEamMeasureUnitService {
    @Autowired
    private IEamMeasureUnitService service;
    private Logger LOG = LoggerFactory.getLogger(TEamMeasureUnitService.class);

    @Test
    public void tGetBySessionId() {
        List<MeasureUnit> ret = service.getBySessionId("test_key_123456");
        LOG.info(Arrays.toString(ret.toArray()));
    }
}
